package com.ee.chat.admin.service;

import com.ee.chat.common.bean.Result;
import com.ee.chat.common.entity.Banner;

import javax.servlet.http.HttpServletRequest;

/**
 * @author AppiJ 2019年11月12日 17:48
 */
public interface IBannerService {

    Result list(HttpServletRequest request, Integer page, Integer limit) throws Exception;

    Result add(HttpServletRequest request, Banner banner) throws Exception;

    Result toEdit(HttpServletRequest request, Integer id) throws Exception;

    Result updateStatus(HttpServletRequest request, Integer id) throws Exception;

}
